package cn.alibab.inspect.controller;


import cn.alibab.common.model.PageBean;
import cn.alibab.common.model.R;
import cn.alibab.inspect.service.InspectionService;
import org.springframework.web.bind.annotation.*;

/**
 * @author LHW
 * @create 2020-07-10 17:30
 */
@RestController
@RequestMapping("sys/ins")
public class InspectionController {
    private  final InspectionService inspectionService;

    public InspectionController(InspectionService inspectionService) {
        this.inspectionService = inspectionService;
    }

@GetMapping
    public R selAll(String inspector, PageBean pageBean){
        return inspectionService.selAll(inspector,pageBean);
}




}
